package com.medicine.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.medicine.sys.entity.Merchant;
import com.medicine.sys.entity.Role;
import com.medicine.sys.mapper.MerchantMapper;
import com.medicine.sys.param.MerchantParam;
import com.medicine.sys.param.RoleParam;
import org.springframework.stereotype.Service;

@Service
public class MerchantService extends ServiceImpl<MerchantMapper, Merchant> {

    public Page<Merchant> selectList(MerchantParam merchantParam){

        return null;
    }

    public void install(Merchant merchant){

        saveOrUpdate(merchant);
    }

    public Merchant getId(String id){
        return getById(id);
    }
}
